package com.example.demo.abstractfactorypattern.factory;

import com.example.demo.abstractfactorypattern.color.Color;
import com.example.demo.factorypattern.Car;

/**
 * @author :xie
 * Email: 1487471733@qq.com
 * Date: 2018/9/6
 * Time: 18:39
 * Describe:
 */
@SuppressWarnings({"ALL", "AlibabaAbstractMethodOrInterfaceMethodMustUseJavadoc"})
public abstract class AbstractFactory {
    /**
     *
     * @param color
     * @return
     */
    public abstract Color getColor(String color);

    /**
     *
     * @param shape
     * @return
     */
    @SuppressWarnings("AlibabaAbstractMethodOrInterfaceMethodMustUseJavadoc")
    public abstract Car getCar(String shape) ;
}
